package excercise;

import java.util.Scanner;

public class EX05_Q36 {

	public static void main(String[] args) {
	TheTimeVO tvo = new TheTimeVO();
	Scanner sc = new Scanner(System.in);
	int tmp = 0;
	
	System.out.println( "하루 계산 프로그램~ 계산하실 초를 입력해주세요 ( XX일로 전환)");
	tmp = sc.nextInt();
	TheTimeService.timeDay(tvo, tmp);
	
		
		
	} // main

} // class

class TheTimeVO{
	private int oneDay;
	private int oneHour;
	private int oneMinit;
	
	private int someDay;
	private int someHour;
	private int someMinit;
	
	public TheTimeVO() {
		this.oneDay = 86400;
		this.oneHour = 3600;
		this.oneMinit = 60;
	}
	
	// getter time
	public int getOneDay() { return this.oneDay; }
	public int getOneHour() { return this.oneHour; }
	public int getOneMinit() { return this.oneMinit; }
	
} // TheTimeVO

class TheTimeService {
	
	static void timeDay( TheTimeVO ttv, int mini ){
		int tmp = mini / ttv.getOneDay();
		System.out.println( mini + " 초는 " + tmp + " 일 입니다" );
	}
	
} // TheTimeService





